package main

import (
	"fmt"
)

func main() {

	var a = -1

	if a < 0 {

		fmt.Println("小于0")
	}
	//a.(Type)
	switch a {
	case 1:

	case 2:

		//穿透
		fallthrough
	case 3:

	}

	for i := 1; i < 9; i++ {
		fmt.Printf("i的值%s \n", i)
	}

	anims := []string{"猴子", "大象"}

	for key, value := range anims {
		fmt.Printf("%s 为 %s \n", key, value)
	}

}
